import request from '@/utils/request'

// 查询数据表列表
export function listGen(query) {
  return request({
    url: '/tool/gen/list',
    method: 'get',
    params: query
  })
}

export function genCode(tableName) {
  return request({
    url: '/tool/gen/genCode/'+tableName,
    method: 'get',
  })
}
